package com.babyqiao.wallpaper.manager.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;

import java.io.Serializable;
import java.util.Date;

/**
 * 专辑entity
 *
 * @author qinglongzhai
 */
public class WallpaperAlbum implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    private String id;
    /**
     * 专辑名称
     */
    private String albumName;

    /**
     * 演员id
     * */
    private String actorId;
    /**
     * 专辑封面
     */
    private String cover;
    /**
     * 热度（浏览量）
     * */
    private String hot;
    /**
     * 点赞量
     * */
    private String likeIt;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
    /**
     * 是否上线
     */
    private Integer online;

    /**
     * 逻辑删除标志
     */
    @TableLogic
    private Integer deleted;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAlbumName() {
        return albumName;
    }

    public void setAlbumName(String albumName) {
        this.albumName = albumName;
    }

    public String getActorId() {
        return actorId;
    }

    public void setActorId(String actorId) {
        this.actorId = actorId;
    }

    public String getCover() {
        return cover;
    }

    public String getHot() {
        return hot;
    }

    public void setHot(String hot) {
        this.hot = hot;
    }

    public String getLikeIt() {
        return likeIt;
    }

    public void setLikeIt(String likeIt) {
        this.likeIt = likeIt;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getOnline() {
        return online;
    }

    public void setOnline(Integer online) {
        this.online = online;
    }


    @Override
    public String toString() {
        return "WallpaperAlbum{" +
                "id='" + id + '\'' +
                ", albumName='" + albumName + '\'' +
                ", actorId='" + actorId + '\'' +
                ", cover='" + cover + '\'' +
                ", hot='" + hot + '\'' +
                ", likeIt='" + likeIt + '\'' +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                ", online=" + online +
                ", deleted=" + deleted +
                '}';
    }
}
